﻿using System;
using Fetches.Fetch.Dto;
using Fetches.Fetch.Fetcher;

namespace Fetches.Custom.BaiduTradeDemo
{
    public class BaiduTradeSeleniumFetcher : SeleniumFetcher
    {
        public override void BeforeTask()
        {
            Scheduler.Push(new Request()
            {
                Url= new Uri("http://www.baidu.com")
            });
        }

        public override void CustomInitialize()
        {
            //关于登录的问题，是在订单中传入Cookie还是各Fetcher初始化的时候自行使用登录方法登录是个问题
        }

        protected override ResponsePage Fetch(Request request)
        {
            throw new NotImplementedException();
        }
    }
}
